Enriching Data with VirusTotal v2
VirusTotal analyzes files and URLs for viruses, worms, trojans, and other malicious content. When activated, the VirusTotal enrichment enables you to pivot on domains, IP addresses (v4 only), and hashes. Enrichment data is also displayed on observable details pages.
You can leverage VirusTotal data on Explore after activation.
VirusTotal enables the following data transformations:
- Hash to ITW
- Section to Hash
- C2 IP to Hash
- Hash to User Agent
- Hash to Timestamp
- Behavior to Hash
- Mutex to Hash
- Hash to SHA-256
- Domain to Subdomain
- Hash to File Name
- URL to Detect Ratio
- Hash to Detect Ratio
- Hash to First Seen
- Hash to C2 IP
- Hash to Import Hash
- Hash to C2 URL
- Hash to AV Detection
- Host to Downloaded Hash
- Hash to Mutex
- Import Hash to Hash
- Hash to MD5
- Domain to IP
- IP to Domain
- Hash to Similar
- Hash to Authentihash
- Import to Hash
- PE Resource to Hash
- Hash to Section
- Hash to Rescan
- IP to Downloaded Hash
- Hash to File Size
- Hash to File Type
- IP to Detected URL
- Hash to Import
- C2 Host to Hash
- Hash to PE Resource
- Hash to C2 Host
- User Agent to Hash
- Hash to Behavior
- Domain to Detected URL
- Hash to PDB
- Hash to Tag
To read more about VirusTotal transformations, see https://github.com/tampererer/VirusTotal-Private-API-Maltego
Enrichment data can also be accessed from observable details pages under Enrichments.
Where data is available, the VirusTotal enrichment returns the following information for each observable type:
| Observable Type | Enrichment Data |
|---|---|
| Domain | Categories, Communicating Files, Downloaded Files, Observed Subdomains, Passive DNS Replication, URLs |
| Hash | Basic Properties, Community Score (displayed as Safe/Unsafe), Detections, Detection Ratio, History, Last Analysis, Related Hashes |
| IP | Autonomous System, Communicating Files, Country, Domain Replication, Downloaded Files, Passive DNS Replication, URLs |
| URL | Detections, Detection Ratio, Last Analysis |
Activating the VirusTotal Enrichment
The VirusTotal enrichment can be activated using a free public API key or a subscription based premium API key.
If you activate the VirusTotal enrichment using a public API key, you can execute a subset of the transforms listed above. If you attempt to execute a transform which is not available through the public API, you will see the following error message:
If you activate the VirusTotal enrichment using a premium API key, you can execute all of the transforms listed above.
To obtain a public VirusTotal API key:
- Visit the VirusTotal registration page, enter the required information, and click Join Us. After completing this step, VirusTotal sends you an activation email.
- Locate the VirusTotal activation email in your inbox and complete the enclosed steps required to activate your account.
- Login to your VirusTotal account.
-
Click API key in the VirusTotal menu at the top right of the screen.
-
Copy your API key, available under the API Key heading.
You will use your API key to activate the enrichment on the ThreatStream user interface.
-
To learn more about the VirusTotal public API, visit https://developers.virustotal.com/reference#getting-started
-
The VirusTotal public API limits requests from individual users. To view the latest API request quota, visit the API Key screen on the VirusTotal user interface.

To request a premium VirusTotal API key:
-
On the VirusTotal user interface, click API key in the menu at the top right of the screen.
- Click Request premium API Key.
- Fill out the request form and click Send. VirusTotal will contact you with further information on obtaining a premium API key.
To activate the VirusTotal enrichment:
- Navigate to ThreatStream > APP STORE > APP Store.
- Click Get Access in the VirusTotal box.
- Click I have credentials.
- Enter your VirusTotal API Key. You can enter a public or premium API key.
- Click Activate.
The VirusTotal enrichment is now active.